package com.sfh.cpc.note;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sfh.cpc.R;
import com.sfh.cpc.com.entity.ENote;
import com.sfh.cpc.com.widget.WidgetMassContent;

/**
 * 功能描述: 我的帖子
 *
 * @author SunFeihu 孙飞虎
 * @date 2018/8/8
 */
public class MyNoteAdapter extends BaseQuickAdapter<ENote, BaseViewHolder> {


    public MyNoteAdapter() {
        super(R.layout.note_my_adapter);
    }

    @Override
    protected void convert(BaseViewHolder helper, ENote item) {
        WidgetMassContent content = helper.getView(R.id.wgContent);
        content.showData(item);
    }
}
